# near model CODE resource # entry label at 0x0000 entry: fn00000000: 00000000 4E56 FFF0 link A6, -0x0010 00000004 48E7 F0E0 movem.l -[A7], D0,D1,D2,D3,A0,A1,A2 00000008 246E 0008 movea.l A2, [A6 + 0x8] 0000000C 2F3C C800 0000 move.l -[A7], 0xC8000000 00000012 A8FD trap PrGlue 00000014 0C78 0000 0944 cmpi.w [0x00000944 /* PrintErr */], 0x0 0000001A 6600 008C bne +0x8E /* 000000A8 */ 0000001E 206A 0348 movea.l A0, [A2 + 0x348] 00000022 2250 movea.l A1, [A0] 00000024 4AA9 007E tst.l [A1 + 0x7E] 00000028 6642 bne +0x44 /* 0000006C */ 0000002A 2F2A 0348 move.l -[A7], [A2 + 0x348] 0000002E 2F3C 2004 0480 move.l -[A7], 0x20040480 00000034 A8FD trap PrGlue 00000036 3F38 0944 move.w -[A7], [0x00000944 /* PrintErr */] 0000003A 6708 beq +0xA /* 00000044 */ 0000003C 487A 0080 pea.l [PC + 0x80 /* 000000BE */] 00000040 4EAD 0CD2 jsr [A5 + 0xCD2] label00000044: 00000044 548F addq.l A7, 2 00000046 4FEF FFFE lea.l A7, [A7 - 0x2] 0000004A 2F2A 0348 move.l -[A7], [A2 + 0x348] 0000004E 2F3C 5204 0498 move.l -[A7], 0x52040498 00000054 A8FD trap PrGlue 00000056 3F38 0944 move.w -[A7], [0x00000944 /* PrintErr */] 0000005A 6708 beq +0xA /* 00000064 */ 0000005C 487A 0060 pea.l [PC + 0x60 /* 000000BE */] 00000060 4EAD 0CD2 jsr [A5 + 0xCD2] label00000064: 00000064 548F addq.l A7, 2 00000066 4FEF 0002 lea.l A7, [A7 + 0x2] 0000006A 6024 bra +0x26 /* 00000090 */ label0000006C: 0000006C 4FEF FFFE lea.l A7, [A7 - 0x2] 00000070 2F2A 0348 move.l -[A7], [A2 + 0x348] 00000074 2F3C 5204 0498 move.l -[A7], 0x52040498 0000007A A8FD trap PrGlue 0000007C 3F38 0944 move.w -[A7], [0x00000944 /* PrintErr */] 00000080 6708 beq +0xA /* 0000008A */ 00000082 487A 003A pea.l [PC + 0x3A /* 000000BE */] 00000086 4EAD 0CD2 jsr [A5 + 0xCD2] label0000008A: 0000008A 548F addq.l A7, 2 0000008C 4FEF 0002 lea.l A7, [A7 + 0x2] label00000090: 00000090 2F3C D000 0000 move.l -[A7], 0xD0000000 00000096 A8FD trap PrGlue 00000098 3F38 0944 move.w -[A7], [0x00000944 /* PrintErr */] 0000009C 6708 beq +0xA /* 000000A6 */ 0000009E 487A 001E pea.l [PC + 0x1E /* 000000BE */] 000000A2 4EAD 0CD2 jsr [A5 + 0xCD2] label000000A6: 000000A6 548F addq.l A7, 2 label000000A8: 000000A8 2F0A move.l -[A7], A2 000000AA 4EAD 0ACA jsr [A5 + 0xACA] 000000AE 4CDF 070F movem.l A2,A1,A0,D3,D2,D1,D0, [A7]+ 000000B2 4E5E unlink A6 000000B4 2F57 0004 move.l [A7 + 0x4], [A7] 000000B8 4FEF 0004 lea.l A7, [A7 + 0x4] 000000BC 4E75 rts 000000BE 8B53 or.w [A3], D5 000000C0 4554 chk.w D2, [A4] 000000C2 5041 addq.w D1, 8 000000C4 4745 chk.w D3, D5 000000C6 5349 subq.w A1, 1 000000C8 5A45 addq.w D5, 5 000000CA 0000 4E56 ori.b D0, 0x56 /* 'V' */ export_310: // at 000000CC (misaligned) 000000CE FFCE .extension 0xFCE // unimplemented 000000D0 48E7 F0E0 movem.l -[A7], D0,D1,D2,D3,A0,A1,A2 000000D4 246E 0014 movea.l A2, [A6 + 0x14] 000000D8 422E FFCF clr.b [A6 - 0x31] 000000DC 422E FFD3 clr.b [A6 - 0x2D] 000000E0 422E FFD2 clr.b [A6 - 0x2E] 000000E4 422E FFD1 clr.b [A6 - 0x2F] 000000E8 422E FFD0 clr.b [A6 - 0x30] 000000EC 422A 03A3 clr.b [A2 + 0x3A3] 000000F0 422A 03A4 clr.b [A2 + 0x3A4] 000000F4 422A 03A5 clr.b [A2 + 0x3A5] 000000F8 41EA 01C2 lea.l A0, [A2 + 0x1C2] 000000FC 7079 moveq.l D0, 0x79 label000000FE: 000000FE 4218 clr.b [A0]+ 00000100 51C8 FFFC dbf D0, -0x6 /* 000000FE */ 00000104 0C6E 0000 0008 cmpi.w [A6 + 0x8], 0x0 0000010A 6700 02D6 beq +0x2D8 /* 000003E2 */ 0000010E 3D7C FFCF 0018 move.w [A6 + 0x18], 0xFFCF 00000114 41EA 01C2 lea.l A0, [A2 + 0x1C2] 00000118 316A 00BC 0016 move.w [A0 + 0x16], [A2 + 0xBC] 0000011E 43EA 00BE lea.l A1, [A2 + 0xBE] 00000122 2149 0012 move.l [A0 + 0x12], A1 00000126 A20C trap GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2 00000128 0C40 FFD5 cmpi.w D0, 0xFFD5 0000012C 6700 02A4 beq +0x2A6 /* 000003D2 */ 00000130 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000134 6708 beq +0xA /* 0000013E */ 00000136 487A 08CC pea.l [PC + 0x8CC /* 00000A04 */] 0000013A 4EAD 0CD2 jsr [A5 + 0xCD2] label0000013E: 0000013E 548F addq.l A7, 2 00000140 0828 0007 001E btst.b [A0 + 0x1E], 0x7 00000146 6600 07D8 bne +0x7DA /* 00000920 */ 0000014A 3D7C FFD7 0018 move.w [A6 + 0x18], 0xFFD7 00000150 0CA8 0000 8000 0036 cmpi.l [A0 + 0x36], 0x8000 00000158 6400 07C6 bcc +0x7C8 /* 00000920 */ 0000015C 4FEF FFFE lea.l A7, [A7 - 0x2] 00000160 2F28 0036 move.l -[A7], [A0 + 0x36] 00000164 486E FFD4 pea.l [A6 - 0x2C] 00000168 4EAD 0C62 jsr [A5 + 0xC62] 0000016C 301F move.w D0, [A7]+ 0000016E 6600 07B0 bne +0x7B2 /* 00000920 */ 00000172 1D78 0001 FFD3 move.b [A6 - 0x2D], [0x00000001] 00000178 08EA 0000 00BB bset.b [A2 + 0xBB], 0x0 0000017E 41EA 01C2 lea.l A0, [A2 + 0x1C2] 00000182 42A8 001C clr.l [A0 + 0x1C] 00000186 42A8 0030 clr.l [A0 + 0x30] 0000018A 103C 0003 move.b D0, 0x3 0000018E 426A 03A6 clr.w [A2 + 0x3A6] 00000192 082A 0000 00B8 btst.b [A2 + 0xB8], 0x0 00000198 6704 beq +0x6 /* 0000019E */ label0000019A: 0000019A 103C 0001 move.b D0, 0x1 label0000019E: 0000019E 1140 001B move.b [A0 + 0x1B], D0 000001A2 A200 trap OpenSlot, flags=2 000001A4 4A00 tst.b D0 000001A6 670C beq +0xE /* 000001B4 */ 000001A8 422E FFCF clr.b [A6 - 0x31] 000001AC 08EA 0000 00B8 bset.b [A2 + 0xB8], 0x0 000001B2 67E6 beq -0x18 /* 0000019A */ label000001B4: 000001B4 3D40 0018 move.w [A6 + 0x18], D0 000001B8 6600 0766 bne +0x768 /* 00000920 */ 000001BC 1D7C 0001 FFD2 move.b [A6 - 0x2E], 0x1 000001C2 156A 00B8 00BA move.b [A2 + 0xBA], [A2 + 0xB8] 000001C8 2028 0036 move.l D0, [A0 + 0x36] 000001CC 2140 0024 move.l [A0 + 0x24], D0 000001D0 2D40 FFE2 move.l [A6 - 0x1E], D0 000001D4 206E FFD4 movea.l A0, [A6 - 0x2C] 000001D8 A029 trap HLock 000001DA 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000001DE 6708 beq +0xA /* 000001E8 */ 000001E0 487A 0822 pea.l [PC + 0x822 /* 00000A04 */] 000001E4 4EAD 0CD2 jsr [A5 + 0xCD2] label000001E8: 000001E8 548F addq.l A7, 2 000001EA 206E FFD4 movea.l A0, [A6 - 0x2C] 000001EE 2250 movea.l A1, [A0] 000001F0 41EA 01C2 lea.l A0, [A2 + 0x1C2] 000001F4 2149 0020 move.l [A0 + 0x20], A1 000001F8 4268 002C clr.w [A0 + 0x2C] 000001FC A002 trap Read 000001FE 3F00 move.w -[A7], D0 00000200 6700 000A beq +0xC /* 0000020C */ 00000204 487A 07FE pea.l [PC + 0x7FE /* 00000A04 */] 00000208 4EAD 0CD2 jsr [A5 + 0xCD2] label0000020C: 0000020C 548F addq.l A7, 2 0000020E 206E FFD4 movea.l A0, [A6 - 0x2C] 00000212 2250 movea.l A1, [A0] 00000214 41EA 01C2 lea.l A0, [A2 + 0x1C2] 00000218 2149 0020 move.l [A0 + 0x20], A1 0000021C 4268 002C clr.w [A0 + 0x2C] 00000220 217C 0000 0001 0024 move.l [A0 + 0x24], 0x1 00000228 42A8 002E clr.l [A0 + 0x2E] 0000022C 317C 0001 002C move.w [A0 + 0x2C], 0x1 00000232 A003 trap Write 00000234 0C40 FFD3 cmpi.w D0, 0xFFD3 00000238 673C beq +0x3E /* 00000276 */ 0000023A 0C40 FFD2 cmpi.w D0, 0xFFD2 0000023E 6736 beq +0x38 /* 00000276 */ 00000240 0C40 FFD4 cmpi.w D0, 0xFFD4 00000244 6730 beq +0x32 /* 00000276 */ 00000246 0C40 FFC3 cmpi.w D0, 0xFFC3 0000024A 672A beq +0x2C /* 00000276 */ 0000024C 3F00 move.w -[A7], D0 0000024E 6700 000A beq +0xC /* 0000025A */ 00000252 487A 07B0 pea.l [PC + 0x7B0 /* 00000A04 */] 00000256 4EAD 0CD2 jsr [A5 + 0xCD2] label0000025A: 0000025A 548F addq.l A7, 2 0000025C 216E FFE2 001C move.l [A0 + 0x1C], [A6 - 0x1E] 00000262 A012 trap SetEOF 00000264 3F00 move.w -[A7], D0 00000266 6700 000A beq +0xC /* 00000272 */ 0000026A 487A 0798 pea.l [PC + 0x798 /* 00000A04 */] 0000026E 4EAD 0CD2 jsr [A5 + 0xCD2] label00000272: 00000272 548F addq.l A7, 2 00000274 600A bra +0xC /* 00000280 */ label00000276: 00000276 422E FFCF clr.b [A6 - 0x31] 0000027A 157C 0001 00B8 move.b [A2 + 0xB8], 0x1 label00000280: 00000280 206E FFD4 movea.l A0, [A6 - 0x2C] 00000284 A02A trap HUnlock 00000286 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 0000028A 6708 beq +0xA /* 00000294 */ 0000028C 487A 0776 pea.l [PC + 0x776 /* 00000A04 */] 00000290 4EAD 0CD2 jsr [A5 + 0xCD2] label00000294: 00000294 548F addq.l A7, 2 00000296 157C 0001 01BF move.b [A2 + 0x1BF], 0x1 0000029C 4FEF FFFE lea.l A7, [A7 - 0x2] 000002A0 486A 00BE pea.l [A2 + 0xBE] 000002A4 3F2A 00BC move.w -[A7], [A2 + 0xBC] 000002A8 4227 clr.b -[A7] 000002AA A9C4 trap OpenRFPerm 000002AC 301F move.w D0, [A7]+ 000002AE 4A78 0A60 tst.w [0x00000A60 /* ResErr */] 000002B2 6700 0084 beq +0x86 /* 00000338 */ 000002B6 0C78 FFD9 0A60 cmpi.w [0x00000A60 /* ResErr */], 0xFFD9 000002BC 6718 beq +0x1A /* 000002D6 */ 000002BE 0C78 FF3F 0A60 cmpi.w [0x00000A60 /* ResErr */], 0xFF3F 000002C4 6710 beq +0x12 /* 000002D6 */ 000002C6 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 000002CA 6708 beq +0xA /* 000002D4 */ 000002CC 487A 0736 pea.l [PC + 0x736 /* 00000A04 */] 000002D0 4EAD 0CD2 jsr [A5 + 0xCD2] label000002D4: 000002D4 548F addq.l A7, 2 label000002D6: 000002D6 422A 01BF clr.b [A2 + 0x1BF] 000002DA 4FEF FFFE lea.l A7, [A7 - 0x2] 000002DE 4EBA 07C4 jsr [PC + 0x7C4 /* 00000AA4 */] 000002E2 3D5F FFF0 move.w [A6 - 0x10], [A7]+ 000002E6 3F2A 00BC move.w -[A7], [A2 + 0xBC] 000002EA 4EBA 074C jsr [PC + 0x74C /* 00000A38 */] 000002EE 486A 00BE pea.l [A2 + 0xBE] 000002F2 A9B1 trap CreateResFile 000002F4 0C78 FFC3 0A60 cmpi.w [0x00000A60 /* ResErr */], 0xFFC3 000002FA 6700 00E6 beq +0xE8 /* 000003E2 */ 000002FE 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00000302 6708 beq +0xA /* 0000030C */ 00000304 487A 06FE pea.l [PC + 0x6FE /* 00000A04 */] 00000308 4EAD 0CD2 jsr [A5 + 0xCD2] label0000030C: 0000030C 548F addq.l A7, 2 0000030E 4FEF FFFE lea.l A7, [A7 - 0x2] 00000312 486A 00BE pea.l [A2 + 0xBE] 00000316 A997 trap OpenResFile 00000318 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 0000031C 6708 beq +0xA /* 00000326 */ 0000031E 487A 06E4 pea.l [PC + 0x6E4 /* 00000A04 */] 00000322 4EAD 0CD2 jsr [A5 + 0xCD2] label00000326: 00000326 548F addq.l A7, 2 00000328 157C 0001 01BF move.b [A2 + 0x1BF], 0x1 0000032E 3F2E FFF0 move.w -[A7], [A6 - 0x10] 00000332 4EBA 0704 jsr [PC + 0x704 /* 00000A38 */] 00000336 301F move.w D0, [A7]+ label00000338: 00000338 3540 01C0 move.w [A2 + 0x1C0], D0 0000033C 4FEF FFFE lea.l A7, [A7 - 0x2] 00000340 2F3C 5052 4C57 move.l -[A7], 0x50524C57 /* 'PRLW' */ 00000346 A80D trap Count1Resources 00000348 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 0000034C 6708 beq +0xA /* 00000356 */ 0000034E 487A 06B4 pea.l [PC + 0x6B4 /* 00000A04 */] 00000352 4EAD 0CD2 jsr [A5 + 0xCD2] label00000356: 00000356 548F addq.l A7, 2 00000358 301F move.w D0, [A7]+ 0000035A 6700 0086 beq +0x88 /* 000003E2 */ 0000035E 4FEF FFFC lea.l A7, [A7 - 0x4] 00000362 2F3C 5052 4C57 move.l -[A7], 0x50524C57 /* 'PRLW' */ 00000368 3F3C 0081 move.w -[A7], 0x81 0000036C A81F trap Get1Resource 0000036E 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00000372 6708 beq +0xA /* 0000037C */ 00000374 487A 068E pea.l [PC + 0x68E /* 00000A04 */] 00000378 4EAD 0CD2 jsr [A5 + 0xCD2] label0000037C: 0000037C 548F addq.l A7, 2 0000037E 0C78 FF40 0A60 cmpi.w [0x00000A60 /* ResErr */], 0xFF40 00000384 6700 005C beq +0x5E /* 000003E2 */ 00000388 205F movea.l A0, [A7]+ 0000038A 2548 0348 move.l [A2 + 0x348], A0 0000038E A029 trap HLock 00000390 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000394 6708 beq +0xA /* 0000039E */ 00000396 487A 066C pea.l [PC + 0x66C /* 00000A04 */] 0000039A 4EAD 0CD2 jsr [A5 + 0xCD2] label0000039E: 0000039E 548F addq.l A7, 2 000003A0 2250 movea.l A1, [A0] 000003A2 0C69 0001 0078 cmpi.w [A1 + 0x78], 0x1 000003A8 6E38 bgt +0x3A /* 000003E2 */ 000003AA A02A trap HUnlock 000003AC 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000003B0 6708 beq +0xA /* 000003BA */ 000003B2 487A 0650 pea.l [PC + 0x650 /* 00000A04 */] 000003B6 4EAD 0CD2 jsr [A5 + 0xCD2] label000003BA: 000003BA 548F addq.l A7, 2 000003BC A04A trap HNoPurge 000003BE 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000003C2 6708 beq +0xA /* 000003CC */ 000003C4 487A 063E pea.l [PC + 0x63E /* 00000A04 */] 000003C8 4EAD 0CD2 jsr [A5 + 0xCD2] label000003CC: 000003CC 548F addq.l A7, 2 000003CE 6000 00FC bra +0xFE /* 000004CC */ label000003D2: 000003D2 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1 000003D8 6608 bne +0xA /* 000003E2 */ 000003DA 3D40 0018 move.w [A6 + 0x18], D0 000003DE 6000 0540 bra +0x542 /* 00000920 */ label000003E2: 000003E2 4278 0A60 clr.w [0x00000A60 /* ResErr */] 000003E6 4FEF FFFE lea.l A7, [A7 - 0x2] 000003EA A994 trap CurResFile 000003EC 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 000003F0 6708 beq +0xA /* 000003FA */ 000003F2 487A 0610 pea.l [PC + 0x610 /* 00000A04 */] 000003F6 4EAD 0CD2 jsr [A5 + 0xCD2] label000003FA: 000003FA 548F addq.l A7, 2 000003FC 3D5F FFEE move.w [A6 - 0x12], [A7]+ 00000400 3F2D FDE0 move.w -[A7], [A5 - 0x220] 00000404 A998 trap UseResFile 00000406 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 0000040A 6708 beq +0xA /* 00000414 */ 0000040C 487A 05F6 pea.l [PC + 0x5F6 /* 00000A04 */] 00000410 4EAD 0CD2 jsr [A5 + 0xCD2] label00000414: 00000414 548F addq.l A7, 2 00000416 4FEF FFFC lea.l A7, [A7 - 0x4] 0000041A 2F3C 5052 4C57 move.l -[A7], 0x50524C57 /* 'PRLW' */ 00000420 3F3C 0081 move.w -[A7], 0x81 00000424 A81F trap Get1Resource 00000426 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 0000042A 6708 beq +0xA /* 00000434 */ 0000042C 487A 05D6 pea.l [PC + 0x5D6 /* 00000A04 */] 00000430 4EAD 0CD2 jsr [A5 + 0xCD2] label00000434: 00000434 548F addq.l A7, 2 00000436 2057 movea.l A0, [A7] 00000438 A9E1 trap HandToHand 0000043A 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 0000043E 6708 beq +0xA /* 00000448 */ 00000440 487A 05C2 pea.l [PC + 0x5C2 /* 00000A04 */] 00000444 4EAD 0CD2 jsr [A5 + 0xCD2] label00000448: 00000448 548F addq.l A7, 2 0000044A 2548 0348 move.l [A2 + 0x348], A0 0000044E A04A trap HNoPurge 00000450 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000454 6708 beq +0xA /* 0000045E */ 00000456 487A 05AC pea.l [PC + 0x5AC /* 00000A04 */] 0000045A 4EAD 0CD2 jsr [A5 + 0xCD2] label0000045E: 0000045E 548F addq.l A7, 2 00000460 A9A3 trap ReleaseResource 00000462 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00000466 6708 beq +0xA /* 00000470 */ 00000468 487A 059A pea.l [PC + 0x59A /* 00000A04 */] 0000046C 4EAD 0CD2 jsr [A5 + 0xCD2] label00000470: 00000470 548F addq.l A7, 2 00000472 3F2E FFEE move.w -[A7], [A6 - 0x12] 00000476 A998 trap UseResFile 00000478 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 0000047C 6708 beq +0xA /* 00000486 */ 0000047E 487A 0584 pea.l [PC + 0x584 /* 00000A04 */] 00000482 4EAD 0CD2 jsr [A5 + 0xCD2] label00000486: 00000486 548F addq.l A7, 2 00000488 082A 0000 01BF btst.b [A2 + 0x1BF], 0x0 0000048E 6700 003C beq +0x3E /* 000004CC */ 00000492 3F2A 01C0 move.w -[A7], [A2 + 0x1C0] 00000496 A998 trap UseResFile 00000498 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 0000049C 6708 beq +0xA /* 000004A6 */ 0000049E 487A 0564 pea.l [PC + 0x564 /* 00000A04 */] 000004A2 4EAD 0CD2 jsr [A5 + 0xCD2] label000004A6: 000004A6 548F addq.l A7, 2 000004A8 2F2A 0348 move.l -[A7], [A2 + 0x348] 000004AC 2F3C 5052 4C57 move.l -[A7], 0x50524C57 /* 'PRLW' */ 000004B2 3F3C 0081 move.w -[A7], 0x81 000004B6 487A 056C pea.l [PC + 0x56C /* 00000A24 */] 000004BA A9AB trap AddResource 000004BC 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 000004C0 6708 beq +0xA /* 000004CA */ 000004C2 487A 0540 pea.l [PC + 0x540 /* 00000A04 */] 000004C6 4EAD 0CD2 jsr [A5 + 0xCD2] label000004CA: 000004CA 548F addq.l A7, 2 label000004CC: 000004CC 1D78 01BF FFD1 move.b [A6 - 0x2F], [0x000001BF] 000004D2 42AA 0360 clr.l [A2 + 0x360] 000004D6 42AA 0364 clr.l [A2 + 0x364] 000004DA 42AA 0368 clr.l [A2 + 0x368] 000004DE 42AA 036C clr.l [A2 + 0x36C] 000004E2 43ED FDB2 lea.l A1, [A5 - 0x24E] 000004E6 2549 0386 move.l [A2 + 0x386], A1 000004EA 43ED FDB6 lea.l A1, [A5 - 0x24A] 000004EE 2549 038A move.l [A2 + 0x38A], A1 000004F2 157C 0001 0382 move.b [A2 + 0x382], 0x1 000004F8 157C 0001 0384 move.b [A2 + 0x384], 0x1 000004FE 157C 0001 0383 move.b [A2 + 0x383], 0x1 00000504 357C 0064 00A0 move.w [A2 + 0xA0], 0x64 /* 'd' */ 0000050A 357C 0064 00A2 move.w [A2 + 0xA2], 0x64 /* 'd' */ 00000510 206A 0348 movea.l A0, [A2 + 0x348] 00000514 A029 trap HLock 00000516 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 0000051A 6708 beq +0xA /* 00000524 */ 0000051C 487A 04E6 pea.l [PC + 0x4E6 /* 00000A04 */] 00000520 4EAD 0CD2 jsr [A5 + 0xCD2] label00000524: 00000524 548F addq.l A7, 2 00000526 2250 movea.l A1, [A0] 00000528 2029 007A move.l D0, [A1 + 0x7A] 0000052C 2D40 FFF8 move.l [A6 - 0x8], D0 00000530 2D69 007E FFFC move.l [A6 - 0x4], [A1 + 0x7E] 00000536 D16E FFFE add.w [A6 - 0x2], D0 0000053A 4840 swap.w D0 0000053C D16E FFFC add.w [A6 - 0x4], D0 00000540 4FEF FFFC lea.l A7, [A7 - 0x4] 00000544 2F0A move.l -[A7], A2 00000546 486E FFF8 pea.l [A6 - 0x8] 0000054A 486A 00BE pea.l [A2 + 0xBE] 0000054E 4267 clr.w -[A7] 00000550 3F3C 0008 move.w -[A7], 0x8 00000554 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF 0000055A 1F2E 000A move.b -[A7], [A6 + 0xA] 0000055E 42A7 clr.l -[A7] 00000560 A913 trap NewWindow 00000562 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000566 6708 beq +0xA /* 00000570 */ 00000568 487A 049A pea.l [PC + 0x49A /* 00000A04 */] 0000056C 4EAD 0CD2 jsr [A5 + 0xCD2] label00000570: 00000570 548F addq.l A7, 2 00000572 1D7C 0001 FFD0 move.b [A6 - 0x30], 0x1 00000578 4FEF 0004 lea.l A7, [A7 + 0x4] 0000057C 2F0A move.l -[A7], A2 0000057E A873 trap SetPort 00000580 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000584 6708 beq +0xA /* 0000058E */ 00000586 487A 047C pea.l [PC + 0x47C /* 00000A04 */] 0000058A 4EAD 0CD2 jsr [A5 + 0xCD2] label0000058E: 0000058E 548F addq.l A7, 2 00000590 256E 0010 0098 move.l [A2 + 0x98], [A6 + 0x10] 00000596 226A 0348 movea.l A1, [A2 + 0x348] 0000059A 2251 movea.l A1, [A1] 0000059C 4869 00A6 pea.l [A1 + 0xA6] 000005A0 486E FFF6 pea.l [A6 - 0xA] 000005A4 A900 trap GetFNum 000005A6 0C78 FF40 0A60 cmpi.w [0x00000A60 /* ResErr */], 0xFF40 000005AC 6748 beq +0x4A /* 000005F6 */ 000005AE 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000005B2 6708 beq +0xA /* 000005BC */ 000005B4 487A 044E pea.l [PC + 0x44E /* 00000A04 */] 000005B8 4EAD 0CD2 jsr [A5 + 0xCD2] label000005BC: 000005BC 548F addq.l A7, 2 000005BE 4A6E FFF6 tst.w [A6 - 0xA] 000005C2 6732 beq +0x34 /* 000005F6 */ 000005C4 3F2E FFF6 move.w -[A7], [A6 - 0xA] 000005C8 A887 trap TextFont 000005CA 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000005CE 6708 beq +0xA /* 000005D8 */ 000005D0 487A 0432 pea.l [PC + 0x432 /* 00000A04 */] 000005D4 4EAD 0CD2 jsr [A5 + 0xCD2] label000005D8: 000005D8 548F addq.l A7, 2 000005DA 226A 0348 movea.l A1, [A2 + 0x348] 000005DE 2251 movea.l A1, [A1] 000005E0 3F29 00A4 move.w -[A7], [A1 + 0xA4] 000005E4 A88A trap TextSize 000005E6 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000005EA 6708 beq +0xA /* 000005F4 */ 000005EC 487A 0416 pea.l [PC + 0x416 /* 00000A04 */] 000005F0 4EAD 0CD2 jsr [A5 + 0xCD2] label000005F4: 000005F4 548F addq.l A7, 2 label000005F6: 000005F6 2D6A 0010 FFF8 move.l [A6 - 0x8], [A2 + 0x10] 000005FC 2D6A 0014 FFFC move.l [A6 - 0x4], [A2 + 0x14] 00000602 066E 0014 FFF8 addi.w [A6 - 0x8], 0x14 00000608 586E FFFA addq.w [A6 - 0x6], 4 0000060C 046E 000F FFFE subi.w [A6 - 0x2], 0xF 00000612 046E 000F FFFC subi.w [A6 - 0x4], 0xF 00000618 4FEF FFFC lea.l A7, [A7 - 0x4] 0000061C 486E FFF8 pea.l [A6 - 0x8] 00000620 486E FFF8 pea.l [A6 - 0x8] 00000624 A83E trap TEStyleNew 00000626 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 0000062A 6708 beq +0xA /* 00000634 */ 0000062C 487A 03D6 pea.l [PC + 0x3D6 /* 00000A04 */] 00000630 4EAD 0CD2 jsr [A5 + 0xCD2] label00000634: 00000634 548F addq.l A7, 2 00000636 205F movea.l A0, [A7]+ 00000638 2250 movea.l A1, [A0] 0000063A 137C 0001 0047 move.b [A1 + 0x47], 0x1 00000640 2548 023C move.l [A2 + 0x23C], A0 00000644 2D48 FFF2 move.l [A6 - 0xE], A0 00000648 206A 0348 movea.l A0, [A2 + 0x348] 0000064C A02A trap HUnlock 0000064E 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000652 6708 beq +0xA /* 0000065C */ 00000654 487A 03AE pea.l [PC + 0x3AE /* 00000A04 */] 00000658 4EAD 0CD2 jsr [A5 + 0xCD2] label0000065C: 0000065C 548F addq.l A7, 2 0000065E 426E FFF8 clr.w [A6 - 0x8] 00000662 426E FFFA clr.w [A6 - 0x6] 00000666 3D7C 0010 FFFC move.w [A6 - 0x4], 0x10 0000066C 3D7C 0010 FFFE move.w [A6 - 0x2], 0x10 00000672 4FEF FFFC lea.l A7, [A7 - 0x4] 00000676 2F0A move.l -[A7], A2 00000678 486E FFF8 pea.l [A6 - 0x8] 0000067C 487A 039E pea.l [PC + 0x39E /* 00000A1C, pstring "hi mike" */] 00000680 3F3C 0100 move.w -[A7], 0x100 00000684 4267 clr.w -[A7] 00000686 4267 clr.w -[A7] 00000688 4267 clr.w -[A7] 0000068A 3F3C 0010 move.w -[A7], 0x10 0000068E 486D 03AA pea.l [A5 + 0x3AA] 00000692 A954 trap NewControl 00000694 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000698 6708 beq +0xA /* 000006A2 */ 0000069A 487A 0368 pea.l [PC + 0x368 /* 00000A04 */] 0000069E 4EAD 0CD2 jsr [A5 + 0xCD2] label000006A2: 000006A2 548F addq.l A7, 2 000006A4 4FEF 0004 lea.l A7, [A7 + 0x4] 000006A8 4FEF FFFC lea.l A7, [A7 - 0x4] 000006AC 2F0A move.l -[A7], A2 000006AE 486E FFF8 pea.l [A6 - 0x8] 000006B2 487A 0368 pea.l [PC + 0x368 /* 00000A1C, pstring "hi mike" */] 000006B6 3F3C 0100 move.w -[A7], 0x100 000006BA 4267 clr.w -[A7] 000006BC 4267 clr.w -[A7] 000006BE 4267 clr.w -[A7] 000006C0 3F3C 0010 move.w -[A7], 0x10 000006C4 486D 0C2A pea.l [A5 + 0xC2A] 000006C8 A954 trap NewControl 000006CA 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000006CE 6708 beq +0xA /* 000006D8 */ 000006D0 487A 0332 pea.l [PC + 0x332 /* 00000A04 */] 000006D4 4EAD 0CD2 jsr [A5 + 0xCD2] label000006D8: 000006D8 548F addq.l A7, 2 000006DA 4FEF 0004 lea.l A7, [A7 + 0x4] 000006DE 2F0A move.l -[A7], A2 000006E0 4EBA F91E jsr [PC - 0x6E2 /* 00000000 */] 000006E4 2F0A move.l -[A7], A2 000006E6 4EAD 09BA jsr [A5 + 0x9BA] 000006EA 082A 0000 00BB btst.b [A2 + 0xBB], 0x0 000006F0 6700 00C4 beq +0xC6 /* 000007B6 */ 000006F4 486E FFE6 pea.l [A6 - 0x1A] 000006F8 A88B trap GetFontInfo 000006FA 362E FFE6 move.w D3, [A6 - 0x1A] 000006FE D66E FFE8 add.w D3, [A6 - 0x18] 00000702 D66E FFEC add.w D3, [A6 - 0x14] 00000706 202E FFE2 move.l D0, [A6 - 0x1E] 0000070A 206E FFD4 movea.l A0, [A6 - 0x2C] 0000070E 7200 moveq.l D1, 0x00 00000710 740D moveq.l D2, 0x0D 00000712 2250 movea.l A1, [A0] 00000714 5340 subq.w D0, 1 label00000716: 00000716 B419 cmp.b D2, [A1]+ 00000718 57C8 FFFC dbeq D0, -0x6 /* 00000716 */ 0000071C 6606 bne +0x8 /* 00000724 */ 0000071E 5281 addq.l D1, 1 00000720 51C8 FFF4 dbf D0, -0xE /* 00000716 */ label00000724: 00000724 3D7C FFDC 0018 move.w [A6 + 0x18], 0xFFDC 0000072A C6C1 mulu.w D3, D1 0000072C 0C83 0000 7D00 cmpi.l D3, 0x7D00 /* '}\0' */ 00000732 6400 01EC bcc +0x1EE /* 00000920 */ 00000736 41EA 01C2 lea.l A0, [A2 + 0x1C2] 0000073A 2028 0036 move.l D0, [A0 + 0x36] 0000073E 0680 0000 0C00 addi.l D0, 0xC00 00000744 A122 trap NewHandle, flags=1 00000746 3D78 0220 0018 move.w [A6 + 0x18], [0x00000220 /* MemErr */] 0000074C 6600 01D2 bne +0x1D4 /* 00000920 */ 00000750 A023 trap DisposHandle/DisposeHandle 00000752 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000756 6708 beq +0xA /* 00000760 */ 00000758 487A 02AA pea.l [PC + 0x2AA /* 00000A04 */] 0000075C 4EAD 0CD2 jsr [A5 + 0xCD2] label00000760: 00000760 548F addq.l A7, 2 00000762 206E FFD4 movea.l A0, [A6 - 0x2C] 00000766 A029 trap HLock 00000768 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 0000076C 6708 beq +0xA /* 00000776 */ 0000076E 487A 0294 pea.l [PC + 0x294 /* 00000A04 */] 00000772 4EAD 0CD2 jsr [A5 + 0xCD2] label00000776: 00000776 548F addq.l A7, 2 00000778 2F10 move.l -[A7], [A0] 0000077A 2F2E FFE2 move.l -[A7], [A6 - 0x1E] 0000077E 2F2E FFF2 move.l -[A7], [A6 - 0xE] 00000782 A9CF trap TESetText 00000784 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000788 6708 beq +0xA /* 00000792 */ 0000078A 487A 0278 pea.l [PC + 0x278 /* 00000A04 */] 0000078E 4EAD 0CD2 jsr [A5 + 0xCD2] label00000792: 00000792 548F addq.l A7, 2 00000794 4FEF FFFE lea.l A7, [A7 - 0x2] 00000798 2F2E FFD4 move.l -[A7], [A6 - 0x2C] 0000079C 4EAD 0C6A jsr [A5 + 0xC6A] 000007A0 301F move.w D0, [A7]+ 000007A2 3F00 move.w -[A7], D0 000007A4 6700 000A beq +0xC /* 000007B0 */ 000007A8 487A 025A pea.l [PC + 0x25A /* 00000A04 */] 000007AC 4EAD 0CD2 jsr [A5 + 0xCD2] label000007B0: 000007B0 548F addq.l A7, 2 000007B2 422E FFD3 clr.b [A6 - 0x2D] label000007B6: 000007B6 2F0A move.l -[A7], A2 000007B8 4EAD 09B2 jsr [A5 + 0x9B2] 000007BC 206A 0348 movea.l A0, [A2 + 0x348] 000007C0 2250 movea.l A1, [A0] 000007C2 3F29 0082 move.w -[A7], [A1 + 0x82] 000007C6 2F2A 023C move.l -[A7], [A2 + 0x23C] 000007CA 4EAD 03B2 jsr [A5 + 0x3B2] 000007CE 422A 0248 clr.b [A2 + 0x248] 000007D2 206E FFF2 movea.l A0, [A6 - 0xE] 000007D6 2250 movea.l A1, [A0] 000007D8 2569 003E 0358 move.l [A2 + 0x358], [A1 + 0x3E] 000007DE 206A 0348 movea.l A0, [A2 + 0x348] 000007E2 2250 movea.l A1, [A0] 000007E4 2429 007A move.l D2, [A1 + 0x7A] 000007E8 2629 007E move.l D3, [A1 + 0x7E] 000007EC 2F29 0084 move.l -[A7], [A1 + 0x84] 000007F0 2F29 0088 move.l -[A7], [A1 + 0x88] 000007F4 2F2A 023C move.l -[A7], [A2 + 0x23C] 000007F8 4EAD 0B12 jsr [A5 + 0xB12] 000007FC 206A 0082 movea.l A0, [A2 + 0x82] 00000800 A029 trap HLock 00000802 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000806 6708 beq +0xA /* 00000810 */ 00000808 487A 01FA pea.l [PC + 0x1FA /* 00000A04 */] 0000080C 4EAD 0CD2 jsr [A5 + 0xCD2] label00000810: 00000810 548F addq.l A7, 2 00000812 2250 movea.l A1, [A0] 00000814 2282 move.l [A1], D2 00000816 D642 add.w D3, D2 00000818 4842 swap.w D2 0000081A 4843 swap.w D3 0000081C D642 add.w D3, D2 0000081E 4843 swap.w D3 00000820 2343 0004 move.l [A1 + 0x4], D3 00000824 A02A trap HUnlock 00000826 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 0000082A 6708 beq +0xA /* 00000834 */ 0000082C 487A 01D6 pea.l [PC + 0x1D6 /* 00000A04 */] 00000830 4EAD 0CD2 jsr [A5 + 0xCD2] label00000834: 00000834 548F addq.l A7, 2 00000836 4FEF FFFC lea.l A7, [A7 - 0x4] 0000083A 2F0A move.l -[A7], A2 0000083C 4EAD 0A92 jsr [A5 + 0xA92] 00000840 205F movea.l A0, [A7]+ 00000842 2250 movea.l A1, [A0] 00000844 4269 0002 clr.w [A1 + 0x2] 00000848 2F0A move.l -[A7], A2 0000084A 4EAD 09AA jsr [A5 + 0x9AA] 0000084E 256D EB4E 00B4 move.l [A2 + 0xB4], [A5 - 0x14B2] 00000854 52AD EB4E addq.l [A5 - 0x14B2], 1 00000858 41ED 0C1A lea.l A0, [A5 + 0xC1A] 0000085C 2548 00A8 move.l [A2 + 0xA8], A0 00000860 2F0A move.l -[A7], A2 00000862 486A 00BE pea.l [A2 + 0xBE] 00000866 A91A trap SetWTitle 00000868 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 0000086C 6708 beq +0xA /* 00000876 */ 0000086E 487A 0194 pea.l [PC + 0x194 /* 00000A04 */] 00000872 4EAD 0CD2 jsr [A5 + 0xCD2] label00000876: 00000876 548F addq.l A7, 2 00000878 357C 0001 00B0 move.w [A2 + 0xB0], 0x1 0000087E 4FEF FFFC lea.l A7, [A7 - 0x4] 00000882 3F3C 0084 move.w -[A7], 0x84 00000886 A9BF trap GetRMenu 00000888 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 0000088C 6708 beq +0xA /* 00000896 */ 0000088E 487A 0174 pea.l [PC + 0x174 /* 00000A04 */] 00000892 4EAD 0CD2 jsr [A5 + 0xCD2] label00000896: 00000896 548F addq.l A7, 2 00000898 2D57 FFD8 move.l [A6 - 0x28], [A7] 0000089C 487A 017C pea.l [PC + 0x17C /* 00000A1A */] 000008A0 A933 trap AppendMenu 000008A2 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000008A6 6708 beq +0xA /* 000008B0 */ 000008A8 487A 015A pea.l [PC + 0x15A /* 00000A04 */] 000008AC 4EAD 0CD2 jsr [A5 + 0xCD2] label000008B0: 000008B0 548F addq.l A7, 2 000008B2 4FEF FFFE lea.l A7, [A7 - 0x2] 000008B6 2F2E FFD8 move.l -[A7], [A6 - 0x28] 000008BA A950 trap CountMItems 000008BC 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000008C0 6708 beq +0xA /* 000008CA */ 000008C2 487A 0140 pea.l [PC + 0x140 /* 00000A04 */] 000008C6 4EAD 0CD2 jsr [A5 + 0xCD2] label000008CA: 000008CA 548F addq.l A7, 2 000008CC 301F move.w D0, [A7]+ 000008CE 2F2E FFD8 move.l -[A7], [A6 - 0x28] 000008D2 3F00 move.w -[A7], D0 000008D4 486A 00BE pea.l [A2 + 0xBE] 000008D8 A947 trap SetMenuItemText/SetItem 000008DA 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000008DE 6708 beq +0xA /* 000008E8 */ 000008E0 487A 0122 pea.l [PC + 0x122 /* 00000A04 */] 000008E4 4EAD 0CD2 jsr [A5 + 0xCD2] label000008E8: 000008E8 548F addq.l A7, 2 000008EA 2F0A move.l -[A7], A2 000008EC 4EAD 0ACA jsr [A5 + 0xACA] 000008F0 7000 moveq.l D0, 0x00 000008F2 A122 trap NewHandle, flags=1 000008F4 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000008F8 6708 beq +0xA /* 00000902 */ 000008FA 487A 0108 pea.l [PC + 0x108 /* 00000A04 */] 000008FE 4EAD 0CD2 jsr [A5 + 0xCD2] label00000902: 00000902 548F addq.l A7, 2 00000904 2548 039C move.l [A2 + 0x39C], A0 00000908 2F0A move.l -[A7], A2 0000090A A915 trap ShowWindow 0000090C 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000910 6708 beq +0xA /* 0000091A */ 00000912 487A 00F0 pea.l [PC + 0xF0 /* 00000A04 */] 00000916 4EAD 0CD2 jsr [A5 + 0xCD2] label0000091A: 0000091A 548F addq.l A7, 2 0000091C 426E 0018 clr.w [A6 + 0x18] label00000920: 00000920 4A6E 0018 tst.w [A6 + 0x18] 00000924 6700 00AC beq +0xAE /* 000009D2 */ 00000928 082E 0000 FFD3 btst.b [A6 - 0x2D], 0x0 0000092E 671E beq +0x20 /* 0000094E */ 00000930 4FEF FFFE lea.l A7, [A7 - 0x2] 00000934 2F2E FFD4 move.l -[A7], [A6 - 0x2C] 00000938 4EAD 0C6A jsr [A5 + 0xC6A] 0000093C 301F move.w D0, [A7]+ 0000093E 3F00 move.w -[A7], D0 00000940 6700 000A beq +0xC /* 0000094C */ 00000944 487A 00BE pea.l [PC + 0xBE /* 00000A04 */] 00000948 4EAD 0CD2 jsr [A5 + 0xCD2] label0000094C: 0000094C 548F addq.l A7, 2 label0000094E: 0000094E 082E 0000 FFD2 btst.b [A6 - 0x2E], 0x0 00000954 6716 beq +0x18 /* 0000096C */ 00000956 41EA 01C2 lea.l A0, [A2 + 0x1C2] 0000095A A001 trap Close 0000095C 3F00 move.w -[A7], D0 0000095E 6700 000A beq +0xC /* 0000096A */ 00000962 487A 00A0 pea.l [PC + 0xA0 /* 00000A04 */] 00000966 4EAD 0CD2 jsr [A5 + 0xCD2] label0000096A: 0000096A 548F addq.l A7, 2 label0000096C: 0000096C 082E 0000 FFD1 btst.b [A6 - 0x2F], 0x0 00000972 6728 beq +0x2A /* 0000099C */ 00000974 4FEF FFFE lea.l A7, [A7 - 0x2] 00000978 A994 trap CurResFile 0000097A 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 0000097E 6708 beq +0xA /* 00000988 */ 00000980 487A 0082 pea.l [PC + 0x82 /* 00000A04 */] 00000984 4EAD 0CD2 jsr [A5 + 0xCD2] label00000988: 00000988 548F addq.l A7, 2 0000098A A99A trap CloseResFile 0000098C 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00000990 6708 beq +0xA /* 0000099A */ 00000992 487A 0070 pea.l [PC + 0x70 /* 00000A04 */] 00000996 4EAD 0CD2 jsr [A5 + 0xCD2] label0000099A: 0000099A 548F addq.l A7, 2 label0000099C: 0000099C 082E 0000 FFD0 btst.b [A6 - 0x30], 0x0 000009A2 672A beq +0x2C /* 000009CE */ 000009A4 2F2A 023C move.l -[A7], [A2 + 0x23C] 000009A8 A9CD trap TEDispose 000009AA 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000009AE 6708 beq +0xA /* 000009B8 */ 000009B0 487A 0052 pea.l [PC + 0x52 /* 00000A04 */] 000009B4 4EAD 0CD2 jsr [A5 + 0xCD2] label000009B8: 000009B8 548F addq.l A7, 2 000009BA 2F0A move.l -[A7], A2 000009BC A92D trap CloseWindow 000009BE 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000009C2 6708 beq +0xA /* 000009CC */ 000009C4 487A 003E pea.l [PC + 0x3E /* 00000A04 */] 000009C8 4EAD 0CD2 jsr [A5 + 0xCD2] label000009CC: 000009CC 548F addq.l A7, 2 label000009CE: 000009CE 422A 00AC clr.b [A2 + 0xAC] label000009D2: 000009D2 082A 0000 00B8 btst.b [A2 + 0xB8], 0x0 000009D8 6716 beq +0x18 /* 000009F0 */ 000009DA 082E 0000 FFCF btst.b [A6 - 0x31], 0x0 000009E0 6708 beq +0xA /* 000009EA */ 000009E2 3F3C 001C move.w -[A7], 0x1C 000009E6 4EAD 04FA jsr [A5 + 0x4FA] label000009EA: 000009EA 357C 0101 03A6 move.w [A2 + 0x3A6], 0x101 label000009F0: 000009F0 4CDF 070F movem.l A2,A1,A0,D3,D2,D1,D0, [A7]+ 000009F4 4E5E unlink A6 000009F6 2F57 0010 move.l [A7 + 0x10], [A7] 000009FA 4FEF 0010 lea.l A7, [A7 + 0x10] 000009FE 4A6F 0004 tst.w [A7 + 0x4] 00000A02 4E75 rts 00000A04 924F sub.w D1, A7 00000A06 5045 addq.w D5, 8 00000A08 4E53 5441 link A3, -0xFFFFABBF 00000A0C 4E44 trap 4 00000A0E 4152 chk.w D0, [A2] 00000A10 4457 neg.w [A7] 00000A12 494E chk.w D4, A6 00000A14 444F neg.w A7 00000A16 5720 subq.b -[A0], 3 00000A18 0000 0120 ori.b D0, 0x20 /* ' ' */ 00000A1C 0768 6920 bchg [A0 + 0x6920], D3 00000A20 6D69 blt +0x6B /* 00000A8B */ 00000A22 6B65 bmi +0x67 /* 00000A89 */ 00000A24 1245 movea.b A1, D5 00000A26 6E76 bgt +0x78 /* 00000A9E */ 00000A28 6972 bvs +0x74 /* 00000A9C */ 00000A2A 6F6E ble +0x70 /* 00000A9A */ 00000A2C 6D65 blt +0x67 /* 00000A93 */ 00000A2E 6E74 bgt +0x76 /* 00000AA4 */ 00000A30 2073 7475 movea.l A0, [A3 + D7.w * 4 + 0x75] 00000A34 6666 bne +0x68 /* 00000A9C */ 00000A36 C900 abcd D4, D0 export_311: fn00000A38: 00000A38 4E56 0000 link A6, 0 00000A3C 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1 00000A40 707A moveq.l D0, 0x7A 00000A42 A11E trap NewPtr, flags=1 00000A44 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000A48 6708 beq +0xA /* 00000A52 */ 00000A4A 487A 004C pea.l [PC + 0x4C /* 00000A98 */] 00000A4E 4EAD 0CD2 jsr [A5 + 0xCD2] label00000A52: 00000A52 548F addq.l A7, 2 00000A54 2248 movea.l A1, A0 00000A56 7079 moveq.l D0, 0x79 label00000A58: 00000A58 4219 clr.b [A1]+ 00000A5A 51C8 FFFC dbf D0, -0x6 /* 00000A58 */ 00000A5E 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8] 00000A64 A015 trap SetVol/PBHSetVol/HSetVol 00000A66 3F00 move.w -[A7], D0 00000A68 6700 000A beq +0xC /* 00000A74 */ 00000A6C 487A 002A pea.l [PC + 0x2A /* 00000A98 */] 00000A70 4EAD 0CD2 jsr [A5 + 0xCD2] label00000A74: 00000A74 548F addq.l A7, 2 00000A76 A01F trap DisposPtr/DisposePtr 00000A78 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000A7C 6708 beq +0xA /* 00000A86 */ 00000A7E 487A 0018 pea.l [PC + 0x18 /* 00000A98 */] 00000A82 4EAD 0CD2 jsr [A5 + 0xCD2] label00000A86: 00000A86 548F addq.l A7, 2 00000A88 4CDF 0307 movem.l A1,A0,D2,D1,D0, [A7]+ label00000A89: // (misaligned) label00000A8B: // (misaligned) 00000A8C 4E5E unlink A6 00000A8E 2F57 0002 move.l [A7 + 0x2], [A7] 00000A92 4FEF 0002 lea.l A7, [A7 + 0x2] label00000A93: // (misaligned) 00000A96 4E75 rts 00000A98 884D or.w D4, A5 label00000A9A: 00000A9A 5953 subq.w [A3], 4 label00000A9C: 00000A9C 4554 chk.w D2, [A4] label00000A9E: 00000A9E 564F addq.w A7, 3 00000AA0 4C20 0000 movem.w , -[A0] export_312: fn00000AA4: 00000AA4 4E56 0000 link A6, 0 00000AA8 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1 00000AAC 707A moveq.l D0, 0x7A 00000AAE A11E trap NewPtr, flags=1 00000AB0 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000AB4 6708 beq +0xA /* 00000ABE */ 00000AB6 487A 0048 pea.l [PC + 0x48 /* 00000B00 */] 00000ABA 4EAD 0CD2 jsr [A5 + 0xCD2] label00000ABE: 00000ABE 548F addq.l A7, 2 00000AC0 2248 movea.l A1, A0 00000AC2 7079 moveq.l D0, 0x79 label00000AC4: 00000AC4 4219 clr.b [A1]+ 00000AC6 51C8 FFFC dbf D0, -0x6 /* 00000AC4 */ 00000ACA A014 trap GetVol/PBHGetVol/HGetVol 00000ACC 3F00 move.w -[A7], D0 00000ACE 6700 000A beq +0xC /* 00000ADA */ 00000AD2 487A 002C pea.l [PC + 0x2C /* 00000B00 */] 00000AD6 4EAD 0CD2 jsr [A5 + 0xCD2] label00000ADA: 00000ADA 548F addq.l A7, 2 00000ADC 3D68 0016 0008 move.w [A6 + 0x8], [A0 + 0x16] 00000AE2 A01F trap DisposPtr/DisposePtr 00000AE4 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000AE8 6708 beq +0xA /* 00000AF2 */ 00000AEA 487A 0014 pea.l [PC + 0x14 /* 00000B00 */] 00000AEE 4EAD 0CD2 jsr [A5 + 0xCD2] label00000AF2: 00000AF2 548F addq.l A7, 2 00000AF4 4CDF 0307 movem.l A1,A0,D2,D1,D0, [A7]+ 00000AF8 4E5E unlink A6 00000AFA 2E97 move.l [A7], [A7] 00000AFC 4FD7 lea.l A7, [A7] 00000AFE 4E75 rts 00000B00 884D or.w D4, A5 00000B02 5947 subq.w D7, 4 00000B04 4554 chk.w D2, [A4] 00000B06 564F addq.w A7, 3 00000B08 4C20 0000 movem.w , -[A0] export_313: 00000B0C 4E56 0000 link A6, 0 00000B10 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2 00000B14 41FA 001C lea.l A0, [PC + 0x1C /* 00000B32 */] 00000B18 302E 0008 move.w D0, [A6 + 0x8] label00000B1C: 00000B1C 3210 move.w D1, [A0] 00000B1E 41E8 0004 lea.l A0, [A0 + 0x4] 00000B22 6700 0020 beq +0x22 /* 00000B44 */ 00000B26 B041 cmp.w D0, D1 00000B28 66F2 bne -0xC /* 00000B1C */ 00000B2A 3028 FFFE move.w D0, [A0 - 0x2] 00000B2E 4EFB 0002 jmp [PC + D0.w + 0x2] 00000B32 0006 003A ori.b D6, 0x3A /* ':' */ 00000B36 0007 0046 ori.b D7, 0x46 /* 'F' */ 00000B3A 0005 0052 ori.b D5, 0x52 /* 'R' */ 00000B3E 000E 0052 ori.b A6, 0x52 /* 'R' */ 00000B42 0000 4CDF ori.b D0, 0xDF // begin alternate branch 00000B44-00000B48 label00000B44: 00000B44 4CDF 0707 movem.l A2,A1,A0,D2,D1,D0, [A7]+ // end alternate branch 00000B44-00000B48 label00000B44: // (misaligned) 00000B46 0707 btst D7, D3 00000B48 4E5E unlink A6 00000B4A 2F57 0006 move.l [A7 + 0x6], [A7] 00000B4E 4FEF 0006 lea.l A7, [A7 + 0x6] 00000B52 023C 00FE andi.b ccr, 254 00000B56 4E75 rts label00000B58: 00000B58 4CDF 0707 movem.l A2,A1,A0,D2,D1,D0, [A7]+ 00000B5C 4E5E unlink A6 00000B5E 2F57 0006 move.l [A7 + 0x6], [A7] 00000B62 4FEF 0006 lea.l A7, [A7 + 0x6] 00000B66 003C 0001 ori.b ccr, 1 00000B6A 4E75 rts 00000B6C 2F2E 000A move.l -[A7], [A6 + 0xA] 00000B70 4EBA 0224 jsr [PC + 0x224 /* 00000D96 */] 00000B74 64CE bcc -0x30 /* 00000B44 */ 00000B76 60E0 bra -0x1E /* 00000B58 */ 00000B78 2F2E 000A move.l -[A7], [A6 + 0xA] 00000B7C 4EBA 0246 jsr [PC + 0x246 /* 00000DC4 */] 00000B80 64C2 bcc -0x3C /* 00000B44 */ 00000B82 60D4 bra -0x2A /* 00000B58 */ 00000B84 2F2E 000A move.l -[A7], [A6 + 0xA] 00000B88 3F2E 0008 move.w -[A7], [A6 + 0x8] 00000B8C 4EBA 001C jsr [PC + 0x1C /* 00000BAA */] 00000B90 65C6 bcs -0x38 /* 00000B58 */ 00000B92 60B0 bra -0x4E /* 00000B44 */ 00000B94 9253 sub.w D1, [A3] 00000B96 5441 addq.w D1, 2 00000B98 4E44 trap 4 00000B9A 4152 chk.w D0, [A2] 00000B9C 4457 neg.w [A7] 00000B9E 494E chk.w D4, A6 00000BA0 444F neg.w A7 00000BA2 5753 subq.w [A3], 3 00000BA4 4156 chk.w D0, [A6] 00000BA6 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4 00000BA8 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 00000BAA-00000BAE export_314: fn00000BAA: 00000BAA 4E56 FC00 link A6, -0x0400 // end alternate branch 00000BAA-00000BAE export_314: // at 00000BAA (misaligned) fn00000BAA: // (misaligned) 00000BAC FC00 .extension 0xC00 // unimplemented 00000BAE 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2 00000BB2 246E 000A movea.l A2, [A6 + 0xA] 00000BB6 082A 0000 00BB btst.b [A2 + 0xBB], 0x0 00000BBC 671C beq +0x1E /* 00000BDA */ 00000BBE 082A 0000 00B8 btst.b [A2 + 0xB8], 0x0 00000BC4 660A bne +0xC /* 00000BD0 */ 00000BC6 082A 0000 00AF btst.b [A2 + 0xAF], 0x0 00000BCC 6700 00C4 beq +0xC6 /* 00000C92 */ label00000BD0: 00000BD0 082A 0000 01BE btst.b [A2 + 0x1BE], 0x0 00000BD6 6700 00BA beq +0xBC /* 00000C92 */ label00000BDA: 00000BDA 2F0A move.l -[A7], A2 00000BDC 486E FF00 pea.l [A6 - 0x100] 00000BE0 A919 trap GetWTitle 00000BE2 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000BE6 6708 beq +0xA /* 00000BF0 */ 00000BE8 487A 019A pea.l [PC + 0x19A /* 00000D84 */] 00000BEC 4EAD 0CD2 jsr [A5 + 0xCD2] label00000BF0: 00000BF0 548F addq.l A7, 2 00000BF2 422E FE00 clr.b [A6 - 0x200] 00000BF6 082A 0000 00BB btst.b [A2 + 0xBB], 0x0 00000BFC 6710 beq +0x12 /* 00000C0E */ 00000BFE 3F3C 0080 move.w -[A7], 0x80 00000C02 3F3C 000C move.w -[A7], 0xC 00000C06 486E FE00 pea.l [A6 - 0x200] 00000C0A 4EAD 0502 jsr [A5 + 0x502] label00000C0E: 00000C0E 486E FE00 pea.l [A6 - 0x200] 00000C12 486E FF00 pea.l [A6 - 0x100] 00000C16 303C 000D move.w D0, 0xD /* '\r' */ 00000C1A 0C6E 0005 0008 cmpi.w [A6 + 0x8], 0x5 00000C20 6704 beq +0x6 /* 00000C26 */ 00000C22 303C 000E move.w D0, 0xE label00000C26: 00000C26 3F3C 0080 move.w -[A7], 0x80 00000C2A 3F00 move.w -[A7], D0 00000C2C 486E FD00 pea.l [A6 - 0x300] 00000C30 4EAD 0502 jsr [A5 + 0x502] 00000C34 486E FD00 pea.l [A6 - 0x300] 00000C38 422E FC00 clr.b [A6 - 0x400] 00000C3C 082A 0000 00B8 btst.b [A2 + 0xB8], 0x0 00000C42 6710 beq +0x12 /* 00000C54 */ 00000C44 3F3C 0080 move.w -[A7], 0x80 00000C48 3F3C 0026 move.w -[A7], 0x26 /* '&' */ 00000C4C 486E FC00 pea.l [A6 - 0x400] 00000C50 4EAD 0502 jsr [A5 + 0x502] label00000C54: 00000C54 486E FC00 pea.l [A6 - 0x400] 00000C58 A98B trap ParamText 00000C5A 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000C5E 6708 beq +0xA /* 00000C68 */ 00000C60 487A 0122 pea.l [PC + 0x122 /* 00000D84 */] 00000C64 4EAD 0CD2 jsr [A5 + 0xCD2] label00000C68: 00000C68 548F addq.l A7, 2 00000C6A 4EAD 098A jsr [A5 + 0x98A] 00000C6E 4FEF FFFE lea.l A7, [A7 - 0x2] 00000C72 3F3C 00CB move.w -[A7], 0xCB 00000C76 42A7 clr.l -[A7] 00000C78 4267 clr.w -[A7] 00000C7A 4EAD 050A jsr [A5 + 0x50A] 00000C7E 4EAD 0982 jsr [A5 + 0x982] 00000C82 301F move.w D0, [A7]+ 00000C84 0C40 0004 cmpi.w D0, 0x4 00000C88 6714 beq +0x16 /* 00000C9E */ 00000C8A 0C40 0001 cmpi.w D0, 0x1 00000C8E 6600 00E0 bne +0xE2 /* 00000D70 */ label00000C92: 00000C92 2F2E 000A move.l -[A7], [A6 + 0xA] 00000C96 4EBA 00FE jsr [PC + 0xFE /* 00000D96 */] 00000C9A 6500 00D4 bcs +0xD6 /* 00000D70 */ label00000C9E: 00000C9E 082A 0000 01BF btst.b [A2 + 0x1BF], 0x0 00000CA4 6734 beq +0x36 /* 00000CDA */ 00000CA6 302A 01C0 move.w D0, [A2 + 0x1C0] 00000CAA 6714 beq +0x16 /* 00000CC0 */ 00000CAC 3F00 move.w -[A7], D0 00000CAE A99A trap CloseResFile 00000CB0 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00000CB4 6708 beq +0xA /* 00000CBE */ 00000CB6 487A 00CC pea.l [PC + 0xCC /* 00000D84 */] 00000CBA 4EAD 0CD2 jsr [A5 + 0xCD2] label00000CBE: 00000CBE 548F addq.l A7, 2 label00000CC0: 00000CC0 41EA 01C2 lea.l A0, [A2 + 0x1C2] 00000CC4 A001 trap Close 00000CC6 3F00 move.w -[A7], D0 00000CC8 6700 000A beq +0xC /* 00000CD4 */ 00000CCC 487A 00B6 pea.l [PC + 0xB6 /* 00000D84 */] 00000CD0 4EAD 0CD2 jsr [A5 + 0xCD2] label00000CD4: 00000CD4 548F addq.l A7, 2 00000CD6 422A 00BB clr.b [A2 + 0xBB] label00000CDA: 00000CDA 2F2A 023C move.l -[A7], [A2 + 0x23C] 00000CDE A9CD trap TEDispose 00000CE0 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000CE4 6708 beq +0xA /* 00000CEE */ 00000CE6 487A 009C pea.l [PC + 0x9C /* 00000D84 */] 00000CEA 4EAD 0CD2 jsr [A5 + 0xCD2] label00000CEE: 00000CEE 548F addq.l A7, 2 00000CF0 2F0A move.l -[A7], A2 00000CF2 A92D trap CloseWindow 00000CF4 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000CF8 6708 beq +0xA /* 00000D02 */ 00000CFA 487A 0088 pea.l [PC + 0x88 /* 00000D84 */] 00000CFE 4EAD 0CD2 jsr [A5 + 0xCD2] label00000D02: 00000D02 548F addq.l A7, 2 00000D04 422A 00AC clr.b [A2 + 0xAC] 00000D08 B5ED EB4A cmpa.l A2, [A5 - 0x14B6] 00000D0C 6606 bne +0x8 /* 00000D14 */ 00000D0E 2B6D E88A EB4A move.l [A5 - 0x14B6], [A5 - 0x1776] label00000D14: 00000D14 2F0A move.l -[A7], A2 00000D16 4EAD 0A8A jsr [A5 + 0xA8A] 00000D1A 2F0A move.l -[A7], A2 00000D1C 4EAD 0A9A jsr [A5 + 0xA9A] 00000D20 42AA 0098 clr.l [A2 + 0x98] 00000D24 4FEF FFFC lea.l A7, [A7 - 0x4] 00000D28 3F3C 0084 move.w -[A7], 0x84 00000D2C A9BF trap GetRMenu 00000D2E 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000D32 6708 beq +0xA /* 00000D3C */ 00000D34 487A 004E pea.l [PC + 0x4E /* 00000D84 */] 00000D38 4EAD 0CD2 jsr [A5 + 0xCD2] label00000D3C: 00000D3C 548F addq.l A7, 2 00000D3E 4FEF FFFE lea.l A7, [A7 - 0x2] 00000D42 3F3C 0084 move.w -[A7], 0x84 00000D46 486A 00BE pea.l [A2 + 0xBE] 00000D4A 4EAD 0BFA jsr [A5 + 0xBFA] 00000D4E A952 trap DeleteMenuItem/DelMenuItem 00000D50 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000D54 6708 beq +0xA /* 00000D5E */ 00000D56 487A 002C pea.l [PC + 0x2C /* 00000D84 */] 00000D5A 4EAD 0CD2 jsr [A5 + 0xCD2] label00000D5E: 00000D5E 548F addq.l A7, 2 00000D60 4CDF 0707 movem.l A2,A1,A0,D2,D1,D0, [A7]+ 00000D64 4E5E unlink A6 00000D66 2F57 0006 move.l [A7 + 0x6], [A7] 00000D6A 4FEF 0006 lea.l A7, [A7 + 0x6] 00000D6E 4E75 rts label00000D70: 00000D70 4CDF 0707 movem.l A2,A1,A0,D2,D1,D0, [A7]+ 00000D74 4E5E unlink A6 00000D76 2F57 0006 move.l [A7 + 0x6], [A7] 00000D7A 003C 0001 ori.b ccr, 1 00000D7E 4FEF 0006 lea.l A7, [A7 + 0x6] 00000D82 4E75 rts 00000D84 8E43 or.w D7, D3 00000D86 4C4F 5345 movem.l A6,A4,A1,A0,D6,D2,D0, A7 00000D8A 5448 addq.w A0, 2 00000D8C 4557 chk.w D2, [A7] 00000D8E 494E chk.w D4, A6 00000D90 444F neg.w A7 00000D92 5720 subq.b -[A0], 3 00000D94 0000 4E56 ori.b D0, 0x56 /* 'V' */ // begin alternate branch 00000D96-00000D9A fn00000D96: 00000D96 4E56 FDB0 link A6, -0x0250 // end alternate branch 00000D96-00000D9A fn00000D96: // (misaligned) 00000D98 FDB0 .extension 0xDB0 // unimplemented 00000D9A 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2 00000D9E 246E 0008 movea.l A2, [A6 + 0x8] 00000DA2 082A 0000 00BB btst.b [A2 + 0xBB], 0x0 00000DA8 6700 0026 beq +0x28 /* 00000DD0 */ 00000DAC 082A 0000 01BE btst.b [A2 + 0x1BE], 0x0 00000DB2 6700 034C beq +0x34E /* 00001100 */ 00000DB6 082A 0000 00B8 btst.b [A2 + 0xB8], 0x0 00000DBC 6600 0012 bne +0x14 /* 00000DD0 */ 00000DC0 6000 033E bra +0x340 /* 00001100 */ fn00000DC4: 00000DC4 4E56 FDB0 link A6, -0x0250 00000DC8 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2 00000DCC 246E 0008 movea.l A2, [A6 + 0x8] label00000DD0: 00000DD0 4FEF FFFE lea.l A7, [A7 - 0x2] 00000DD4 4EBA FCCE jsr [PC - 0x332 /* 00000AA4 */] 00000DD8 3D5F FDB0 move.w [A6 - 0x250], [A7]+ 00000DDC 2F0A move.l -[A7], A2 00000DDE 486E FEB6 pea.l [A6 - 0x14A] 00000DE2 A919 trap GetWTitle 00000DE4 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00000DE8 6708 beq +0xA /* 00000DF2 */ 00000DEA 487A 034A pea.l [PC + 0x34A /* 00001136 */] 00000DEE 4EAD 0CD2 jsr [A5 + 0xCD2] label00000DF2: 00000DF2 548F addq.l A7, 2 00000DF4 3F3C 0064 move.w -[A7], 0x64 /* 'd' */ 00000DF8 487A 0360 pea.l [PC + 0x360 /* 0000115A, pstring "Save document as:" */] 00000DFC 486E FEB6 pea.l [A6 - 0x14A] 00000E00 1F2A 00BB move.b -[A7], [A2 + 0xBB] 00000E04 3F2A 01DA move.w -[A7], [A2 + 0x1DA] 00000E08 486E FFB6 pea.l [A6 - 0x4A] 00000E0C 4EAD 0C3A jsr [A5 + 0xC3A] 00000E10 4EAD 0982 jsr [A5 + 0x982] 00000E14 082E 0000 FFB6 btst.b [A6 - 0x4A], 0x0 00000E1A 6700 02FE beq +0x300 /* 0000111A */ 00000E1E 3F2E FFBC move.w -[A7], [A6 - 0x44] 00000E22 4EBA FC14 jsr [PC - 0x3EC /* 00000A38 */] 00000E26 082A 0000 01BF btst.b [A2 + 0x1BF], 0x0 00000E2C 6700 0086 beq +0x88 /* 00000EB4 */ 00000E30 4A6A 01C0 tst.w [A2 + 0x1C0] 00000E34 6768 beq +0x6A /* 00000E9E */ 00000E36 2F2A 0348 move.l -[A7], [A2 + 0x348] 00000E3A A9AA trap ChangedResource 00000E3C 0C78 FFC3 0A60 cmpi.w [0x00000A60 /* ResErr */], 0xFFC3 00000E42 672E beq +0x30 /* 00000E72 */ 00000E44 0C78 FFD4 0A60 cmpi.w [0x00000A60 /* ResErr */], 0xFFD4 00000E4A 6726 beq +0x28 /* 00000E72 */ 00000E4C 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00000E50 6708 beq +0xA /* 00000E5A */ 00000E52 487A 02E2 pea.l [PC + 0x2E2 /* 00001136 */] 00000E56 4EAD 0CD2 jsr [A5 + 0xCD2] label00000E5A: 00000E5A 548F addq.l A7, 2 00000E5C 2F2A 0348 move.l -[A7], [A2 + 0x348] 00000E60 A9B0 trap WriteResource 00000E62 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00000E66 6708 beq +0xA /* 00000E70 */ 00000E68 487A 02CC pea.l [PC + 0x2CC /* 00001136 */] 00000E6C 4EAD 0CD2 jsr [A5 + 0xCD2] label00000E70: 00000E70 548F addq.l A7, 2 label00000E72: 00000E72 2F2A 0348 move.l -[A7], [A2 + 0x348] 00000E76 A992 trap DetachResource 00000E78 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00000E7C 6708 beq +0xA /* 00000E86 */ 00000E7E 487A 02B6 pea.l [PC + 0x2B6 /* 00001136 */] 00000E82 4EAD 0CD2 jsr [A5 + 0xCD2] label00000E86: 00000E86 548F addq.l A7, 2 00000E88 3F2A 01C0 move.w -[A7], [A2 + 0x1C0] 00000E8C A99A trap CloseResFile 00000E8E 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00000E92 6708 beq +0xA /* 00000E9C */ 00000E94 487A 02A0 pea.l [PC + 0x2A0 /* 00001136 */] 00000E98 4EAD 0CD2 jsr [A5 + 0xCD2] label00000E9C: 00000E9C 548F addq.l A7, 2 label00000E9E: 00000E9E 41EA 01C2 lea.l A0, [A2 + 0x1C2] 00000EA2 A001 trap Close 00000EA4 3F00 move.w -[A7], D0 00000EA6 6700 000A beq +0xC /* 00000EB2 */ 00000EAA 487A 028A pea.l [PC + 0x28A /* 00001136 */] 00000EAE 4EAD 0CD2 jsr [A5 + 0xCD2] label00000EB2: 00000EB2 548F addq.l A7, 2 label00000EB4: 00000EB4 41EA 01C2 lea.l A0, [A2 + 0x1C2] 00000EB8 7079 moveq.l D0, 0x79 label00000EBA: 00000EBA 4218 clr.b [A0]+ 00000EBC 51C8 FFFC dbf D0, -0x6 /* 00000EBA */ 00000EC0 41EA 01C2 lea.l A0, [A2 + 0x1C2] 00000EC4 43EE FFC0 lea.l A1, [A6 - 0x40] 00000EC8 2149 0012 move.l [A0 + 0x12], A1 00000ECC 316E FFBC 0016 move.w [A0 + 0x16], [A6 - 0x44] 00000ED2 A00C trap GetFileInfo/PBHGetFInfo/HGetFileInfo 00000ED4 0C40 FFD5 cmpi.w D0, 0xFFD5 00000ED8 664A bne +0x4C /* 00000F24 */ 00000EDA A008 trap Create/PBHCreate/HCreate 00000EDC 3F00 move.w -[A7], D0 00000EDE 6700 000A beq +0xC /* 00000EEA */ 00000EE2 487A 0252 pea.l [PC + 0x252 /* 00001136 */] 00000EE6 4EAD 0CD2 jsr [A5 + 0xCD2] label00000EEA: 00000EEA 548F addq.l A7, 2 00000EEC 3F3C 0080 move.w -[A7], 0x80 00000EF0 3F3C 000F move.w -[A7], 0xF 00000EF4 486E FDB5 pea.l [A6 - 0x24B] 00000EF8 4EAD 0502 jsr [A5 + 0x502] 00000EFC 216E FDB6 0024 move.l [A0 + 0x24], [A6 - 0x24A] 00000F02 217C 5445 5854 0020 move.l [A0 + 0x20], 0x54455854 /* 'TEXT' */ 00000F0A 2178 020C 0048 move.l [A0 + 0x48], [0x0000020C /* Time */] 00000F10 A00D trap SetFileInfo/PBHSetFInfo/HSetFileInfo 00000F12 3F00 move.w -[A7], D0 00000F14 6700 000A beq +0xC /* 00000F20 */ 00000F18 487A 021C pea.l [PC + 0x21C /* 00001136 */] 00000F1C 4EAD 0CD2 jsr [A5 + 0xCD2] label00000F20: 00000F20 548F addq.l A7, 2 00000F22 6056 bra +0x58 /* 00000F7A */ label00000F24: 00000F24 3F00 move.w -[A7], D0 00000F26 6700 000A beq +0xC /* 00000F32 */ 00000F2A 487A 020A pea.l [PC + 0x20A /* 00001136 */] 00000F2E 4EAD 0CD2 jsr [A5 + 0xCD2] label00000F32: 00000F32 548F addq.l A7, 2 00000F34 0CA8 5445 5854 0020 cmpi.l [A0 + 0x20], 0x54455854 /* 'TEXT' */ 00000F3C 673C beq +0x3E /* 00000F7A */ 00000F3E 3F3C 0011 move.w -[A7], 0x11 00000F42 4EAD 04FA jsr [A5 + 0x4FA] 00000F46 41EA 01C2 lea.l A0, [A2 + 0x1C2] 00000F4A 7079 moveq.l D0, 0x79 label00000F4C: 00000F4C 4218 clr.b [A0]+ 00000F4E 51C8 FFFC dbf D0, -0x6 /* 00000F4C */ 00000F52 41EA 01C2 lea.l A0, [A2 + 0x1C2] 00000F56 43EA 00BE lea.l A1, [A2 + 0xBE] 00000F5A 2149 0012 move.l [A0 + 0x12], A1 00000F5E 316A 00BC 0016 move.w [A0 + 0x16], [A2 + 0xBC] 00000F64 A00C trap GetFileInfo/PBHGetFInfo/HGetFileInfo 00000F66 3F00 move.w -[A7], D0 00000F68 6700 000A beq +0xC /* 00000F74 */ 00000F6C 487A 01C8 pea.l [PC + 0x1C8 /* 00001136 */] 00000F70 4EAD 0CD2 jsr [A5 + 0xCD2] label00000F74: 00000F74 548F addq.l A7, 2 00000F76 6000 0024 bra +0x26 /* 00000F9C */ label00000F7A: 00000F7A 41EE FFC0 lea.l A0, [A6 - 0x40] 00000F7E 43EA 00BE lea.l A1, [A2 + 0xBE] 00000F82 7000 moveq.l D0, 0x00 00000F84 1018 move.b D0, [A0]+ 00000F86 12C0 move.b [A1]+, D0 00000F88 5340 subq.w D0, 1 00000F8A 6B06 bmi +0x8 /* 00000F92 */ label00000F8C: 00000F8C 12D8 move.b [A1]+, [A0]+ 00000F8E 51C8 FFFC dbf D0, -0x6 /* 00000F8C */ label00000F92: 00000F92 356E FFBC 00BC move.w [A2 + 0xBC], [A6 - 0x44] 00000F98 41EA 01C2 lea.l A0, [A2 + 0x1C2] label00000F9C: 00000F9C 117C 0003 001B move.b [A0 + 0x1B], 0x3 00000FA2 42A8 001C clr.l [A0 + 0x1C] 00000FA6 A00A trap OpenRF/PBHOpenRF/HOpenRF 00000FA8 3F00 move.w -[A7], D0 00000FAA 6700 000A beq +0xC /* 00000FB6 */ 00000FAE 487A 0186 pea.l [PC + 0x186 /* 00001136 */] 00000FB2 4EAD 0CD2 jsr [A5 + 0xCD2] label00000FB6: 00000FB6 548F addq.l A7, 2 00000FB8 42A8 001C clr.l [A0 + 0x1C] 00000FBC A012 trap SetEOF 00000FBE 3F00 move.w -[A7], D0 00000FC0 6700 000A beq +0xC /* 00000FCC */ 00000FC4 487A 0170 pea.l [PC + 0x170 /* 00001136 */] 00000FC8 4EAD 0CD2 jsr [A5 + 0xCD2] label00000FCC: 00000FCC 548F addq.l A7, 2 00000FCE A001 trap Close 00000FD0 3F00 move.w -[A7], D0 00000FD2 6700 000A beq +0xC /* 00000FDE */ 00000FD6 487A 015E pea.l [PC + 0x15E /* 00001136 */] 00000FDA 4EAD 0CD2 jsr [A5 + 0xCD2] label00000FDE: 00000FDE 548F addq.l A7, 2 00000FE0 117C 0003 001B move.b [A0 + 0x1B], 0x3 00000FE6 42A8 001C clr.l [A0 + 0x1C] 00000FEA A000 trap Open/PBHOpen/HOpen 00000FEC 3F00 move.w -[A7], D0 00000FEE 6700 000A beq +0xC /* 00000FFA */ 00000FF2 487A 0142 pea.l [PC + 0x142 /* 00001136 */] 00000FF6 4EAD 0CD2 jsr [A5 + 0xCD2] label00000FFA: 00000FFA 548F addq.l A7, 2 00000FFC 42A8 001C clr.l [A0 + 0x1C] 00001000 A012 trap SetEOF 00001002 3F00 move.w -[A7], D0 00001004 6700 000A beq +0xC /* 00001010 */ 00001008 487A 012C pea.l [PC + 0x12C /* 00001136 */] 0000100C 4EAD 0CD2 jsr [A5 + 0xCD2] label00001010: 00001010 548F addq.l A7, 2 00001012 42A8 0012 clr.l [A0 + 0x12] 00001016 4268 002C clr.w [A0 + 0x2C] 0000101A 3F28 0016 move.w -[A7], [A0 + 0x16] 0000101E 4EBA FA18 jsr [PC - 0x5E8 /* 00000A38 */] 00001022 486A 00BE pea.l [A2 + 0xBE] 00001026 A9B1 trap CreateResFile 00001028 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 0000102C 6708 beq +0xA /* 00001036 */ 0000102E 487A 0106 pea.l [PC + 0x106 /* 00001136 */] 00001032 4EAD 0CD2 jsr [A5 + 0xCD2] label00001036: 00001036 548F addq.l A7, 2 00001038 4FEF FFFE lea.l A7, [A7 - 0x2] 0000103C 486A 00BE pea.l [A2 + 0xBE] 00001040 A997 trap OpenResFile 00001042 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00001046 6708 beq +0xA /* 00001050 */ 00001048 487A 00EC pea.l [PC + 0xEC /* 00001136 */] 0000104C 4EAD 0CD2 jsr [A5 + 0xCD2] label00001050: 00001050 548F addq.l A7, 2 00001052 355F 01C0 move.w [A2 + 0x1C0], [A7]+ 00001056 2F2A 0348 move.l -[A7], [A2 + 0x348] 0000105A 2F3C 5052 4C57 move.l -[A7], 0x50524C57 /* 'PRLW' */ 00001060 3F3C 0081 move.w -[A7], 0x81 00001064 487A 00E0 pea.l [PC + 0xE0 /* 00001146 */] 00001068 A9AB trap AddResource 0000106A 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 0000106E 6708 beq +0xA /* 00001078 */ 00001070 487A 00C4 pea.l [PC + 0xC4 /* 00001136 */] 00001074 4EAD 0CD2 jsr [A5 + 0xCD2] label00001078: 00001078 548F addq.l A7, 2 0000107A 157C 0001 00BB move.b [A2 + 0xBB], 0x1 00001080 157C 0001 01BF move.b [A2 + 0x1BF], 0x1 00001086 157C 0001 01BE move.b [A2 + 0x1BE], 0x1 0000108C 156A 00B8 00BA move.b [A2 + 0xBA], [A2 + 0xB8] 00001092 422A 00B8 clr.b [A2 + 0xB8] 00001096 422A 00B9 clr.b [A2 + 0xB9] 0000109A 2F0A move.l -[A7], A2 0000109C 486A 00BE pea.l [A2 + 0xBE] 000010A0 A91A trap SetWTitle 000010A2 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000010A6 6708 beq +0xA /* 000010B0 */ 000010A8 487A 008C pea.l [PC + 0x8C /* 00001136 */] 000010AC 4EAD 0CD2 jsr [A5 + 0xCD2] label000010B0: 000010B0 548F addq.l A7, 2 000010B2 4FEF FFFC lea.l A7, [A7 - 0x4] 000010B6 3F3C 0084 move.w -[A7], 0x84 000010BA A9BF trap GetRMenu 000010BC 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000010C0 6708 beq +0xA /* 000010CA */ 000010C2 487A 0072 pea.l [PC + 0x72 /* 00001136 */] 000010C6 4EAD 0CD2 jsr [A5 + 0xCD2] label000010CA: 000010CA 548F addq.l A7, 2 000010CC 4FEF FFFE lea.l A7, [A7 - 0x2] 000010D0 3F3C 0084 move.w -[A7], 0x84 000010D4 486E FEB6 pea.l [A6 - 0x14A] 000010D8 4EAD 0BFA jsr [A5 + 0xBFA] 000010DC 486A 00BE pea.l [A2 + 0xBE] 000010E0 A947 trap SetMenuItemText/SetItem 000010E2 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000010E6 6708 beq +0xA /* 000010F0 */ 000010E8 487A 004C pea.l [PC + 0x4C /* 00001136 */] 000010EC 4EAD 0CD2 jsr [A5 + 0xCD2] label000010F0: 000010F0 548F addq.l A7, 2 000010F2 B5ED E88A cmpa.l A2, [A5 - 0x1776] 000010F6 6708 beq +0xA /* 00001100 */ 000010F8 3F2E FDB0 move.w -[A7], [A6 - 0x250] 000010FC 4EBA F93A jsr [PC - 0x6C6 /* 00000A38 */] label00001100: 00001100 2F0A move.l -[A7], A2 00001102 4EBA 0068 jsr [PC + 0x68 /* 0000116C */] 00001106 4CDF 0707 movem.l A2,A1,A0,D2,D1,D0, [A7]+ 0000110A 4E5E unlink A6 0000110C 2F57 0004 move.l [A7 + 0x4], [A7] 00001110 023C 00FE andi.b ccr, 254 00001114 4FEF 0004 lea.l A7, [A7 + 0x4] 00001118 4E75 rts label0000111A: 0000111A 3F2E FDB0 move.w -[A7], [A6 - 0x250] 0000111E 4EBA F918 jsr [PC - 0x6E8 /* 00000A38 */] 00001122 4CDF 0707 movem.l A2,A1,A0,D2,D1,D0, [A7]+ 00001126 4E5E unlink A6 00001128 2F57 0004 move.l [A7 + 0x4], [A7] 0000112C 003C 0001 ori.b ccr, 1 00001130 4FEF 0004 lea.l A7, [A7 + 0x4] 00001134 4E75 rts 00001136 8C53 or.w D6, [A3] 00001138 5441 addq.w D1, 2 0000113A 4E44 trap 4 0000113C 4152 chk.w D0, [A2] 0000113E 4453 neg.w [A3] 00001140 4156 chk.w D0, [A6] 00001142 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4 00001144 0000 1245 ori.b D0, 0x45 /* 'E' */ 00001148 6E76 bgt +0x78 /* 000011C0 */ 0000114A 6972 bvs +0x74 /* 000011BE */ 0000114C 6F6E ble +0x70 /* 000011BC */ 0000114E 6D65 blt +0x67 /* 000011B5 */ 00001150 6E74 bgt +0x76 /* 000011C6 */ 00001152 2073 7475 movea.l A0, [A3 + D7.w * 4 + 0x75] 00001156 6666 bne +0x68 /* 000011BE */ 00001158 C900 abcd D4, D0 0000115A 1153 6176 move.b [A0 + 0x6176], [A3] 0000115E 6520 bcs +0x22 /* 00001180 */ 00001160 646F bcc +0x71 /* 000011D1 */ 00001162 6375 bls +0x77 /* 000011D9 */ 00001164 6D65 blt +0x67 /* 000011CB */ 00001166 6E74 bgt +0x76 /* 000011DC */ 00001168 2061 movea.l A0, -[A1] 0000116A 733A moveq.l D1, 0x3A fn0000116C: 0000116C 4E56 FFF2 link A6, -0x000E 00001170 48E7 E0F8 movem.l -[A7], D0,D1,D2,A0,A1,A2,A3,A4 00001174 266E 0008 movea.l A3, [A6 + 0x8] 00001178 082B 0000 00B8 btst.b [A3 + 0xB8], 0x0 0000117E 6600 017C bne +0x17E /* 000012FC */ // begin alternate branch 00001180-00001186 label00001180: 00001180 017C 206B bchg 0x206B /* ' k' */, D0 00001184 0348 bchg A0, D1 // end alternate branch 00001180-00001186 label00001180: // (misaligned) 00001182 206B 0348 movea.l A0, [A3 + 0x348] 00001186 A029 trap HLock 00001188 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 0000118C 6708 beq +0xA /* 00001196 */ 0000118E 487A 01B2 pea.l [PC + 0x1B2 /* 00001342 */] 00001192 4EAD 0CD2 jsr [A5 + 0xCD2] label00001196: 00001196 548F addq.l A7, 2 00001198 2850 movea.l A4, [A0] 0000119A 206B 023C movea.l A0, [A3 + 0x23C] 0000119E A029 trap HLock 000011A0 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000011A4 6708 beq +0xA /* 000011AE */ 000011A6 487A 019A pea.l [PC + 0x19A /* 00001342 */] 000011AA 4EAD 0CD2 jsr [A5 + 0xCD2] label000011AE: 000011AE 548F addq.l A7, 2 000011B0 2250 movea.l A1, [A0] 000011B2 7000 moveq.l D0, 0x00 000011B4 3029 0020 move.w D0, [A1 + 0x20] label000011B5: // (misaligned) 000011B8 2940 0084 move.l [A4 + 0x84], D0 label000011BC: 000011BC 3029 0022 move.w D0, [A1 + 0x22] // begin alternate branch 000011BE-000011CC label000011BE: 000011BE 0022 2940 ori.b -[A2], 0x40 /* '@' */ label000011C0: // (misaligned) 000011C2 0088 A02A 3F38 ori.l A0, 0xA02A3F38 label000011C6: // (misaligned) 000011C8 0220 6708 andi.b -[A0], 0x8 // end alternate branch 000011BE-000011CC label000011BE: // (misaligned) label000011C0: 000011C0 2940 0088 move.l [A4 + 0x88], D0 000011C4 A02A trap HUnlock label000011C6: 000011C6 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000011CA 6708 beq +0xA /* 000011D4 */ label000011CB: // (misaligned) 000011CC 487A 0174 pea.l [PC + 0x174 /* 00001342 */] 000011D0 4EAD 0CD2 jsr [A5 + 0xCD2] label000011D1: // (misaligned) label000011D4: 000011D4 548F addq.l A7, 2 000011D6 396B 0240 0082 move.w [A4 + 0x82], [A3 + 0x240] label000011D9: // (misaligned) label000011DC: 000011DC 206B 0348 movea.l A0, [A3 + 0x348] 000011E0 A02A trap HUnlock 000011E2 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000011E6 6708 beq +0xA /* 000011F0 */ 000011E8 487A 0158 pea.l [PC + 0x158 /* 00001342 */] 000011EC 4EAD 0CD2 jsr [A5 + 0xCD2] label000011F0: 000011F0 548F addq.l A7, 2 000011F2 2F2B 0348 move.l -[A7], [A3 + 0x348] 000011F6 A9AA trap ChangedResource 000011F8 0C78 FFC3 0A60 cmpi.w [0x00000A60 /* ResErr */], 0xFFC3 000011FE 6700 0118 beq +0x11A /* 00001318 */ 00001202 0C78 FFD4 0A60 cmpi.w [0x00000A60 /* ResErr */], 0xFFD4 00001208 6700 010E beq +0x110 /* 00001318 */ 0000120C 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00001210 6708 beq +0xA /* 0000121A */ 00001212 487A 012E pea.l [PC + 0x12E /* 00001342 */] 00001216 4EAD 0CD2 jsr [A5 + 0xCD2] label0000121A: 0000121A 548F addq.l A7, 2 0000121C 2F2B 0348 move.l -[A7], [A3 + 0x348] 00001220 A9B0 trap WriteResource 00001222 3F38 0A60 move.w -[A7], [0x00000A60 /* ResErr */] 00001226 6708 beq +0xA /* 00001230 */ 00001228 487A 0118 pea.l [PC + 0x118 /* 00001342 */] 0000122C 4EAD 0CD2 jsr [A5 + 0xCD2] label00001230: 00001230 548F addq.l A7, 2 00001232 422B 00B8 clr.b [A3 + 0xB8] 00001236 422B 00B9 clr.b [A3 + 0xB9] 0000123A 08AB 0000 01BE bclr.b [A3 + 0x1BE], 0x0 00001240 6700 00BA beq +0xBC /* 000012FC */ 00001244 206B 023C movea.l A0, [A3 + 0x23C] 00001248 A029 trap HLock 0000124A 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 0000124E 6708 beq +0xA /* 00001258 */ 00001250 487A 00F0 pea.l [PC + 0xF0 /* 00001342 */] 00001254 4EAD 0CD2 jsr [A5 + 0xCD2] label00001258: 00001258 548F addq.l A7, 2 0000125A 2250 movea.l A1, [A0] 0000125C 2D69 003E FFFA move.l [A6 - 0x6], [A1 + 0x3E] 00001262 A02A trap HUnlock 00001264 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00001268 6708 beq +0xA /* 00001272 */ 0000126A 487A 00D6 pea.l [PC + 0xD6 /* 00001342 */] 0000126E 4EAD 0CD2 jsr [A5 + 0xCD2] label00001272: 00001272 548F addq.l A7, 2 00001274 206E FFFA movea.l A0, [A6 - 0x6] 00001278 A029 trap HLock 0000127A 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 0000127E 6708 beq +0xA /* 00001288 */ 00001280 487A 00C0 pea.l [PC + 0xC0 /* 00001342 */] 00001284 4EAD 0CD2 jsr [A5 + 0xCD2] label00001288: 00001288 548F addq.l A7, 2 0000128A 2D50 FFF6 move.l [A6 - 0xA], [A0] 0000128E A025 trap GetHandleSize 00001290 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 00001294 6708 beq +0xA /* 0000129E */ 00001296 487A 00AA pea.l [PC + 0xAA /* 00001342 */] 0000129A 4EAD 0CD2 jsr [A5 + 0xCD2] label0000129E: 0000129E 548F addq.l A7, 2 000012A0 2D40 FFF2 move.l [A6 - 0xE], D0 000012A4 41EB 01C2 lea.l A0, [A3 + 0x1C2] 000012A8 42A8 001C clr.l [A0 + 0x1C] 000012AC A012 trap SetEOF 000012AE 3F00 move.w -[A7], D0 000012B0 6700 000A beq +0xC /* 000012BC */ 000012B4 487A 008C pea.l [PC + 0x8C /* 00001342 */] 000012B8 4EAD 0CD2 jsr [A5 + 0xCD2] label000012BC: 000012BC 548F addq.l A7, 2 000012BE 317C 0001 002C move.w [A0 + 0x2C], 0x1 000012C4 42A8 002E clr.l [A0 + 0x2E] 000012C8 216E FFF2 0024 move.l [A0 + 0x24], [A6 - 0xE] 000012CE 216E FFF6 0020 move.l [A0 + 0x20], [A6 - 0xA] 000012D4 A003 trap Write 000012D6 3F00 move.w -[A7], D0 000012D8 6700 000A beq +0xC /* 000012E4 */ 000012DC 487A 0064 pea.l [PC + 0x64 /* 00001342 */] 000012E0 4EAD 0CD2 jsr [A5 + 0xCD2] label000012E4: 000012E4 548F addq.l A7, 2 000012E6 206E FFFA movea.l A0, [A6 - 0x6] 000012EA A02A trap HUnlock 000012EC 3F38 0220 move.w -[A7], [0x00000220 /* MemErr */] 000012F0 6708 beq +0xA /* 000012FA */ 000012F2 487A 004E pea.l [PC + 0x4E /* 00001342 */] 000012F6 4EAD 0CD2 jsr [A5 + 0xCD2] label000012FA: 000012FA 548F addq.l A7, 2 label000012FC: 000012FC 426B 03A6 clr.w [A3 + 0x3A6] 00001300 3F3C 0003 move.w -[A7], 0x3 00001304 4EAD 0A1A jsr [A5 + 0xA1A] 00001308 4CDF 1F07 movem.l A4,A3,A2,A1,A0,D2,D1,D0, [A7]+ 0000130C 4E5E unlink A6 0000130E 2F57 0004 move.l [A7 + 0x4], [A7] 00001312 4FEF 0004 lea.l A7, [A7 + 0x4] 00001316 4E75 rts label00001318: 00001318 3F3C 0025 move.w -[A7], 0x25 /* '%' */ 0000131C 4EAD 04FA jsr [A5 + 0x4FA] 00001320 377C 0101 03A6 move.w [A3 + 0x3A6], 0x101 00001326 3F3C 0003 move.w -[A7], 0x3 0000132A 4EAD 0A1A jsr [A5 + 0xA1A] 0000132E 177C 0001 00B8 move.b [A3 + 0xB8], 0x1 00001334 177C 0001 00B9 move.b [A3 + 0xB9], 0x1 0000133A 177C 0001 00BA move.b [A3 + 0xBA], 0x1 00001340 60BA bra -0x44 /* 000012FC */ 00001342 8D53 or.w [A3], D6 00001344 4156 chk.w D0, [A6] 00001346 4554 chk.w D2, [A4] 00001348 4841 swap.w D1 0000134A 5453 addq.w [A3], 2 0000134C 5455 addq.w [A5], 2 0000134E 4646 not.w D6 00001350 0000 .incomplete